package com.huitone.gddw.service.dto;

public class SmModuleDTO {
	
	private Integer seq;
	
	private String smTempletId;
	
	private String svrNode;
	
	private String svrNodeName;
	
	private String serviceCode;
	
	private String serviceName;
	
	private int usernums;
	
	private String smTemplet;
	
	private double sendTime;
	
	private String sendTimeDesc;
	
	private int sendRate;
	
	private String sendRateUnit;
	
	private String status;	//状态
	
	private String remark;	//说明

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public String getSmTempletId() {
		return smTempletId;
	}

	public void setSmTempletId(String smTempletId) {
		this.smTempletId = smTempletId;
	}

	public String getSvrNode() {
		return svrNode;
	}

	public void setSvrNode(String svrNode) {
		this.svrNode = svrNode;
	}

	public String getSvrNodeName() {
		return svrNodeName;
	}

	public void setSvrNodeName(String svrNodeName) {
		this.svrNodeName = svrNodeName;
	}

	public String getServiceCode() {
		return serviceCode;
	}

	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public int getUsernums() {
		return usernums;
	}

	public void setUsernums(int usernums) {
		this.usernums = usernums;
	}

	public String getSmTemplet() {
		return smTemplet;
	}

	public void setSmTemplet(String smTemplet) {
		this.smTemplet = smTemplet;
	}

	public double getSendTime() {
		return sendTime;
	}

	public void setSendTime(double sendTime) {
		this.sendTime = sendTime;
	}

	public int getSendRate() {
		return sendRate;
	}

	public void setSendRate(int sendRate) {
		this.sendRate = sendRate;
	}

	public String getSendRateUnit() {
		if (null == this.sendRateUnit) {
			return "未知";
		}
		if (this.sendRateUnit.equals("1")) {
			return "时";
		}
		if (this.sendRateUnit.equals("2")) {
			return "日";
		}
		if (this.sendRateUnit.equals("3")) {
			return "周";
		}
		if (this.sendRateUnit.equals("4")) {
			return "月";
		}
		return "未知";
	}

	public void setSendRateUnit(String sendRateUnit) {
		this.sendRateUnit = sendRateUnit;
	}

	public String getSendTimeDesc() {
		return sendTimeDesc;
	}

	public void setSendTimeDesc(String sendTimeDesc) {
		this.sendTimeDesc = sendTimeDesc;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
